/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Scores.java
 *
 * Created on Dec 14, 2011, 12:52:19 PM
 */
package ftcbowledoverscore;

/**
 *
 * @author RoboticsClub
 */
public class Scores extends javax.swing.JFrame {

    /** Creates new form Scores */
    public Scores() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        R1R = new javax.swing.ButtonGroup();
        R2R = new javax.swing.ButtonGroup();
        BBAR = new javax.swing.ButtonGroup();
        BBAB = new javax.swing.ButtonGroup();
        R1B = new javax.swing.ButtonGroup();
        R2B = new javax.swing.ButtonGroup();
        BBER = new javax.swing.ButtonGroup();
        BBEB = new javax.swing.ButtonGroup();
        jLabel1 = new javax.swing.JLabel();
        RedScoreDisplay = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        R1NR = new javax.swing.JRadioButton();
        R1FR = new javax.swing.JRadioButton();
        R1BR = new javax.swing.JRadioButton();
        jLabel5 = new javax.swing.JLabel();
        R2BR = new javax.swing.JRadioButton();
        R2FR = new javax.swing.JRadioButton();
        R2NR = new javax.swing.JRadioButton();
        jLabel6 = new javax.swing.JLabel();
        BBABR = new javax.swing.JRadioButton();
        BBAFR = new javax.swing.JRadioButton();
        BBANR = new javax.swing.JRadioButton();
        jLabel2 = new javax.swing.JLabel();
        UCR = new javax.swing.JSpinner();
        jLabel7 = new javax.swing.JLabel();
        jSeparator1 = new javax.swing.JSeparator();
        jLabel8 = new javax.swing.JLabel();
        LGBR = new javax.swing.JSpinner();
        MBR = new javax.swing.JSpinner();
        CBR = new javax.swing.JSpinner();
        jLabel11 = new javax.swing.JLabel();
        LGBB = new javax.swing.JSpinner();
        jLabel12 = new javax.swing.JLabel();
        BBAFB = new javax.swing.JRadioButton();
        jLabel13 = new javax.swing.JLabel();
        BBANB = new javax.swing.JRadioButton();
        jLabel14 = new javax.swing.JLabel();
        jLabel15 = new javax.swing.JLabel();
        UCB = new javax.swing.JSpinner();
        BlueScoreDisplay = new javax.swing.JLabel();
        jLabel16 = new javax.swing.JLabel();
        R2NB = new javax.swing.JRadioButton();
        jLabel17 = new javax.swing.JLabel();
        BBABB = new javax.swing.JRadioButton();
        MBB = new javax.swing.JSpinner();
        R1BB = new javax.swing.JRadioButton();
        jLabel18 = new javax.swing.JLabel();
        jLabel19 = new javax.swing.JLabel();
        CBB = new javax.swing.JSpinner();
        R2BB = new javax.swing.JRadioButton();
        R2FB = new javax.swing.JRadioButton();
        R1NB = new javax.swing.JRadioButton();
        R1FB = new javax.swing.JRadioButton();
        jLabel20 = new javax.swing.JLabel();
        PCR = new javax.swing.JSpinner();
        CPER = new javax.swing.JSpinner();
        CPCR = new javax.swing.JSpinner();
        CPDR = new javax.swing.JSpinner();
        CPAR = new javax.swing.JSpinner();
        CPBR = new javax.swing.JSpinner();
        CPFR = new javax.swing.JSpinner();
        jLabel21 = new javax.swing.JLabel();
        jLabel23 = new javax.swing.JLabel();
        jLabel25 = new javax.swing.JLabel();
        BBENR = new javax.swing.JRadioButton();
        BBEPR = new javax.swing.JRadioButton();
        BBEHR = new javax.swing.JRadioButton();
        CPAB = new javax.swing.JSpinner();
        CPBB = new javax.swing.JSpinner();
        CPFB = new javax.swing.JSpinner();
        jLabel22 = new javax.swing.JLabel();
        CPEB = new javax.swing.JSpinner();
        CPCB = new javax.swing.JSpinner();
        CPDB = new javax.swing.JSpinner();
        jLabel24 = new javax.swing.JLabel();
        PCB = new javax.swing.JSpinner();
        BBEPB = new javax.swing.JRadioButton();
        BBEHR1 = new javax.swing.JRadioButton();
        BBENB = new javax.swing.JRadioButton();
        jLabel26 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("FTC Bowled Over Scoring Calculator");
        setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        setResizable(false);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowOpened(java.awt.event.WindowEvent evt) {
                load(evt);
            }
        });

        jLabel1.setFont(new java.awt.Font("Tahoma", 0, 36));
        jLabel1.setForeground(java.awt.Color.red);
        jLabel1.setText("Red:");

        RedScoreDisplay.setFont(new java.awt.Font("Tahoma", 0, 36));
        RedScoreDisplay.setForeground(java.awt.Color.red);
        RedScoreDisplay.setText("0");

        jLabel3.setFont(new java.awt.Font("Tahoma", 0, 18));
        jLabel3.setText("Autonomous");

        jLabel4.setText("Robot 1");

        R1R.add(R1NR);
        R1NR.setSelected(true);
        R1NR.setText("None");
        R1NR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                R1NRActionPerformed(evt);
            }
        });

        R1R.add(R1FR);
        R1FR.setText("Front");
        R1FR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                R1FRActionPerformed(evt);
            }
        });

        R1R.add(R1BR);
        R1BR.setText("Back");
        R1BR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                R1BRActionPerformed(evt);
            }
        });

        jLabel5.setText("Robot 2");

        R2R.add(R2BR);
        R2BR.setText("Back");
        R2BR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                R2BRActionPerformed(evt);
            }
        });

        R2R.add(R2FR);
        R2FR.setText("Front");
        R2FR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                R2FRActionPerformed(evt);
            }
        });

        R2R.add(R2NR);
        R2NR.setSelected(true);
        R2NR.setText("None");
        R2NR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                R2NRActionPerformed(evt);
            }
        });

        jLabel6.setText("Bowling Ball");

        BBAR.add(BBABR);
        BBABR.setText("Back");
        BBABR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BBABRActionPerformed(evt);
            }
        });

        BBAR.add(BBAFR);
        BBAFR.setText("Front");
        BBAFR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BBAFRActionPerformed(evt);
            }
        });

        BBAR.add(BBANR);
        BBANR.setSelected(true);
        BBANR.setText("None");
        BBANR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BBANRActionPerformed(evt);
            }
        });

        jLabel2.setText("Upright Crates:");

        UCR.setModel(new javax.swing.SpinnerNumberModel(0, 0, 6, 1));
        UCR.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                UCRStateChanged(evt);
            }
        });

        jLabel7.setFont(new java.awt.Font("Tahoma", 0, 18));
        jLabel7.setText("Teleop");

        jSeparator1.setOrientation(javax.swing.SwingConstants.VERTICAL);

        jLabel8.setText("Balls in Low Goal:");

        LGBR.setModel(new javax.swing.SpinnerNumberModel(0, 0, 99, 1));
        LGBR.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                LGBRStateChanged(evt);
            }
        });

        MBR.setModel(new javax.swing.SpinnerNumberModel(0, 0, 12, 1));
        MBR.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                MBRStateChanged(evt);
            }
        });

        CBR.setModel(new javax.swing.SpinnerNumberModel(0, 0, 99, 1));
        CBR.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                CBRStateChanged(evt);
            }
        });

        jLabel11.setText("Balls in Low Goal:");

        LGBB.setModel(new javax.swing.SpinnerNumberModel(0, 0, 99, 1));
        LGBB.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                LGBBStateChanged(evt);
            }
        });

        jLabel12.setText("Robot 1");

        BBAB.add(BBAFB);
        BBAFB.setText("Front");
        BBAFB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BBAFBActionPerformed(evt);
            }
        });

        jLabel13.setFont(new java.awt.Font("Tahoma", 0, 36));
        jLabel13.setForeground(java.awt.Color.blue);
        jLabel13.setText("Blue:");

        BBAB.add(BBANB);
        BBANB.setSelected(true);
        BBANB.setText("None");
        BBANB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BBANBActionPerformed(evt);
            }
        });

        jLabel14.setFont(new java.awt.Font("Tahoma", 0, 18));
        jLabel14.setText("Teleop");

        jLabel15.setText("Upright Crates:");

        UCB.setModel(new javax.swing.SpinnerNumberModel(0, 0, 6, 1));
        UCB.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                UCBStateChanged(evt);
            }
        });

        BlueScoreDisplay.setFont(new java.awt.Font("Tahoma", 0, 36));
        BlueScoreDisplay.setForeground(java.awt.Color.blue);
        BlueScoreDisplay.setText("0");

        jLabel16.setFont(new java.awt.Font("Tahoma", 0, 18));
        jLabel16.setText("Autonomous");

        R2B.add(R2NB);
        R2NB.setSelected(true);
        R2NB.setText("None");
        R2NB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                R2NBActionPerformed(evt);
            }
        });

        jLabel17.setText("Bowling Ball");

        BBAB.add(BBABB);
        BBABB.setText("Back");
        BBABB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BBABBActionPerformed(evt);
            }
        });

        MBB.setModel(new javax.swing.SpinnerNumberModel(0, 0, 12, 1));
        MBB.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                MBBStateChanged(evt);
            }
        });

        R1B.add(R1BB);
        R1BB.setText("Back");
        R1BB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                R1BBActionPerformed(evt);
            }
        });

        jLabel18.setText("<html>Magnet Balls in<br>Off-Field Goal:</html>");

        jLabel19.setText("Robot 2");

        CBB.setModel(new javax.swing.SpinnerNumberModel(0, 0, 99, 1));
        CBB.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                CBBStateChanged(evt);
            }
        });

        R2B.add(R2BB);
        R2BB.setText("Back");
        R2BB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                R2BBActionPerformed(evt);
            }
        });

        R2B.add(R2FB);
        R2FB.setText("Front");
        R2FB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                R2FBActionPerformed(evt);
            }
        });

        R1B.add(R1NB);
        R1NB.setSelected(true);
        R1NB.setText("None");
        R1NB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                R1NBActionPerformed(evt);
            }
        });

        R1B.add(R1FB);
        R1FB.setText("Front");
        R1FB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                R1FBActionPerformed(evt);
            }
        });

        jLabel20.setText("Balls in Crates:");

        PCR.setModel(new javax.swing.SpinnerNumberModel(0, 0, 6, 1));
        PCR.setAutoscrolls(true);
        PCR.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                PCRStateChanged(evt);
            }
        });

        CPER.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));
        CPER.setAutoscrolls(true);
        CPER.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                CPERStateChanged(evt);
            }
        });

        CPCR.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));
        CPCR.setAutoscrolls(true);
        CPCR.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                CPCRStateChanged(evt);
            }
        });

        CPDR.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));
        CPDR.setAutoscrolls(true);
        CPDR.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                CPDRStateChanged(evt);
            }
        });

        CPAR.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));
        CPAR.setAutoscrolls(true);
        CPAR.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                CPARStateChanged(evt);
            }
        });

        CPBR.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));
        CPBR.setAutoscrolls(true);
        CPBR.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                CPBRStateChanged(evt);
            }
        });

        CPFR.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));
        CPFR.setAutoscrolls(true);
        CPFR.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                CPFRStateChanged(evt);
            }
        });

        jLabel21.setText("Crate Positions");

        jLabel23.setText("Crates on Platform:");

        jLabel25.setText("Bowling Ball");

        BBER.add(BBENR);
        BBENR.setSelected(true);
        BBENR.setText("None");
        BBENR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BBENRActionPerformed(evt);
            }
        });

        BBER.add(BBEPR);
        BBEPR.setText("On Platform");
        BBEPR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BBEPRActionPerformed(evt);
            }
        });

        BBER.add(BBEHR);
        BBEHR.setText("In Hole");
        BBEHR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BBEHRActionPerformed(evt);
            }
        });

        CPAB.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));
        CPAB.setAutoscrolls(true);
        CPAB.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                CPABStateChanged(evt);
            }
        });

        CPBB.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));
        CPBB.setAutoscrolls(true);
        CPBB.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                CPBBStateChanged(evt);
            }
        });

        CPFB.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));
        CPFB.setAutoscrolls(true);
        CPFB.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                CPFBStateChanged(evt);
            }
        });

        jLabel22.setText("Crate Positions");

        CPEB.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));
        CPEB.setAutoscrolls(true);
        CPEB.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                CPEBStateChanged(evt);
            }
        });

        CPCB.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));
        CPCB.setAutoscrolls(true);
        CPCB.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                CPCBStateChanged(evt);
            }
        });

        CPDB.setModel(new javax.swing.SpinnerNumberModel(Integer.valueOf(0), Integer.valueOf(0), null, Integer.valueOf(1)));
        CPDB.setAutoscrolls(true);
        CPDB.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                CPDBStateChanged(evt);
            }
        });

        jLabel24.setText("Crates on Platform:");

        PCB.setModel(new javax.swing.SpinnerNumberModel(0, 0, 6, 1));
        PCB.setAutoscrolls(true);
        PCB.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                PCBStateChanged(evt);
            }
        });

        BBEB.add(BBEPB);
        BBEPB.setText("On Platform");
        BBEPB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BBEPBActionPerformed(evt);
            }
        });

        BBEB.add(BBEHR1);
        BBEHR1.setText("In Hole");
        BBEHR1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BBEHR1ActionPerformed(evt);
            }
        });

        BBEB.add(BBENB);
        BBENB.setSelected(true);
        BBENB.setText("None");
        BBENB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BBENBActionPerformed(evt);
            }
        });

        jLabel26.setText("Bowling Ball");

        jLabel9.setText("Balls in Crates:");

        jLabel10.setText("<html>Magnet Balls in<br>Off-Field Goal:</html>");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jLabel1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(RedScoreDisplay))
                    .addComponent(jLabel3)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel4)
                            .addComponent(R1NR)
                            .addComponent(R1FR)
                            .addComponent(R1BR))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel5)
                            .addComponent(R2NR)
                            .addComponent(R2FR)
                            .addComponent(R2BR))
                        .addGap(6, 6, 6)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel6)
                            .addComponent(BBANR)
                            .addComponent(BBAFR)
                            .addComponent(BBABR)))
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addGroup(layout.createSequentialGroup()
                            .addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(MBR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(layout.createSequentialGroup()
                            .addComponent(jLabel9)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(CBR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel7)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(jLabel8)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(LGBR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                            .addComponent(jLabel2)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(UCR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(jLabel21)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(CPAR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(CPBR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(CPCR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(CPDR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(CPER, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(CPFR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jLabel23)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(PCR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jLabel25)
                    .addComponent(BBENR)
                    .addComponent(BBEPR)
                    .addComponent(BBEHR))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jLabel13)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(BlueScoreDisplay))
                    .addComponent(jLabel16)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel12)
                            .addComponent(R1NB)
                            .addComponent(R1FB)
                            .addComponent(R1BB))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel19)
                            .addComponent(R2NB)
                            .addComponent(R2FB)
                            .addComponent(R2BB))
                        .addGap(6, 6, 6)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(BBAFB)
                            .addComponent(BBANB)
                            .addComponent(jLabel17)
                            .addComponent(BBABB)))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jLabel15)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(UCB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                            .addComponent(jLabel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(MBB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                            .addComponent(jLabel20)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(CBB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jLabel14)
                                .addComponent(jLabel11))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(LGBB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(jLabel22)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(CPAB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(CPBB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(CPCB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(CPDB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(CPEB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(CPFB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jLabel24)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(PCB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jLabel26)
                    .addComponent(BBENB)
                    .addComponent(BBEPB)
                    .addComponent(BBEHR1)))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel1)
                            .addComponent(RedScoreDisplay))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jLabel3)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addGroup(layout.createSequentialGroup()
                                    .addComponent(jLabel4)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(R1NR)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(R1FR)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(R1BR))
                                .addGroup(layout.createSequentialGroup()
                                    .addComponent(jLabel5)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(R2NR)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(R2FR)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(R2BR)))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(jLabel6)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(BBANR)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(BBAFR)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(BBABR)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel2)
                            .addComponent(UCR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(jLabel7)
                                .addGap(20, 20, 20))
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(jLabel8)
                                .addComponent(LGBR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(CBR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel9))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(MBR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel21)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(CPAR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(CPBR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(CPCR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(CPDR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(CPER, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(CPFR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel23)
                            .addComponent(PCR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel25)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(BBENR)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(BBEPR)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(BBEHR))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addGap(4, 4, 4)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jSeparator1, javax.swing.GroupLayout.DEFAULT_SIZE, 461, Short.MAX_VALUE)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jLabel13)
                                    .addComponent(BlueScoreDisplay))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jLabel16)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(jLabel17)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(BBANB, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(BBAFB, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(BBABB))
                                    .addGroup(layout.createSequentialGroup()
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                            .addGroup(layout.createSequentialGroup()
                                                .addComponent(jLabel12)
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                .addComponent(R1NB)
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                .addComponent(R1FB)
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                .addComponent(R1BB))
                                            .addGroup(layout.createSequentialGroup()
                                                .addComponent(jLabel19)
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                .addComponent(R2NB)
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                .addComponent(R2FB)
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                                .addComponent(R2BB)))
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                            .addComponent(UCB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel15))))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(jLabel14)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jLabel11))
                                    .addComponent(LGBB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jLabel20)
                                    .addComponent(CBB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(MBB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jLabel22)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(CPAB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                        .addComponent(CPBB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(CPCB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(CPDB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(CPEB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(CPFB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jLabel24)
                                    .addComponent(PCB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jLabel26)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(BBENB)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(BBEPB)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(BBEHR1)))))
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

public int scoreR;
public int R1SR;
public int R2SR;
public int BBASR;
public int BBTSR;
public int UCSR;
public int BLGSR;
public int BCSR;
public int MBSR;
public int CPSR;
public int CPASR;
public int CPBSR;
public int CPCSR;
public int CPDSR;
public int CPESR;
public int CPFSR;

public int scoreB;
public int R1SB;
public int R2SB;
public int BBASB;
public int BBTSB;
public int UCSB;
public int BLGSB;
public int BCSB;
public int MBSB;
public int CPSB;
public int CPASB;
public int CPBSB;
public int CPCSB;
public int CPDSB;
public int CPESB;
public int CPFSB;

private void addscore()
{
    scoreR=R1SR+R2SR+BBASR+UCSR+BLGSR+BCSR+MBSR+CPSR+BBTSR+CPASR+CPBSR+CPCSR+CPDSR+CPESR+CPFSR;
    RedScoreDisplay.setText(""+scoreR);
    scoreB=R1SB+R2SB+BBASB+UCSB+BLGSB+BCSB+MBSB+CPSB+BBTSB+CPASB+CPBSB+CPCSB+CPDSB+CPESB+CPFSB;
    BlueScoreDisplay.setText(""+scoreB);
}

private void R1NRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_R1NRActionPerformed
    R1SR=0;
    addscore();
}//GEN-LAST:event_R1NRActionPerformed

private void R1FRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_R1FRActionPerformed
    R1SR=10;
    addscore();
}//GEN-LAST:event_R1FRActionPerformed

private void R1BRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_R1BRActionPerformed
    R1SR=5;
    addscore();
}//GEN-LAST:event_R1BRActionPerformed

private void R2BRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_R2BRActionPerformed
    R2SR=5;
    addscore();
}//GEN-LAST:event_R2BRActionPerformed

private void R2FRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_R2FRActionPerformed
    R2SR=10;
    addscore();
}//GEN-LAST:event_R2FRActionPerformed

private void R2NRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_R2NRActionPerformed
    R2SR=0;
    addscore();
}//GEN-LAST:event_R2NRActionPerformed

private void BBABRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BBABRActionPerformed
    BBASR=20;
    addscore();
}//GEN-LAST:event_BBABRActionPerformed

private void BBAFRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BBAFRActionPerformed
    BBASR=10;
    addscore();
}//GEN-LAST:event_BBAFRActionPerformed

private void BBANRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BBANRActionPerformed
    BBASR=0;
    addscore();
}//GEN-LAST:event_BBANRActionPerformed

private void UCRStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_UCRStateChanged
    UCSR=5*Integer.parseInt(UCR.getValue().toString());
    addscore();
}//GEN-LAST:event_UCRStateChanged

private void LGBRStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_LGBRStateChanged
    BLGSR=1*Integer.parseInt(LGBR.getValue().toString());
    addscore();
}//GEN-LAST:event_LGBRStateChanged

private void CBRStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_CBRStateChanged
    BCSR=2*Integer.parseInt(CBR.getValue().toString());
    addscore();
}//GEN-LAST:event_CBRStateChanged

private void LGBBStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_LGBBStateChanged
    BLGSB=1*Integer.parseInt(LGBB.getValue().toString());
    addscore();
}//GEN-LAST:event_LGBBStateChanged

private void BBAFBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BBAFBActionPerformed
    BBASB=10;
    addscore();
}//GEN-LAST:event_BBAFBActionPerformed

private void BBANBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BBANBActionPerformed
    BBASB=0;
    addscore();
}//GEN-LAST:event_BBANBActionPerformed

private void UCBStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_UCBStateChanged
    UCSB=5*Integer.parseInt(UCB.getValue().toString());
    addscore();
}//GEN-LAST:event_UCBStateChanged

private void R2NBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_R2NBActionPerformed
    R2SB=0;
    addscore();
}//GEN-LAST:event_R2NBActionPerformed

private void BBABBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BBABBActionPerformed
    BBASB=20;
    addscore();
}//GEN-LAST:event_BBABBActionPerformed

private void MBBStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_MBBStateChanged
    MBSB=25*Integer.parseInt(MBB.getValue().toString());
    addscore();
}//GEN-LAST:event_MBBStateChanged

private void R1BBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_R1BBActionPerformed
    R1SB=5;
    addscore();
}//GEN-LAST:event_R1BBActionPerformed

private void CBBStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_CBBStateChanged
    BCSB=2*Integer.parseInt(CBB.getValue().toString());
    addscore();
}//GEN-LAST:event_CBBStateChanged

private void R2BBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_R2BBActionPerformed
    R2SB=5;
    addscore();
}//GEN-LAST:event_R2BBActionPerformed

private void R2FBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_R2FBActionPerformed
    R2SB=10;
    addscore();
}//GEN-LAST:event_R2FBActionPerformed

private void R1NBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_R1NBActionPerformed
    R1SB=0;
    addscore();
}//GEN-LAST:event_R1NBActionPerformed

private void R1FBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_R1FBActionPerformed
    R1SB=10;
    addscore();
}//GEN-LAST:event_R1FBActionPerformed

private void PCRStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_PCRStateChanged
    CPSR=10*Integer.parseInt(PCR.getValue().toString());
    addscore();
}//GEN-LAST:event_PCRStateChanged

private void CPERStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_CPERStateChanged
    CPESR=10*Integer.parseInt(CPER.getValue().toString());
    addscore();
}//GEN-LAST:event_CPERStateChanged

private void CPCRStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_CPCRStateChanged
    CPCSR=10*Integer.parseInt(CPCR.getValue().toString());
    addscore();
}//GEN-LAST:event_CPCRStateChanged

private void CPDRStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_CPDRStateChanged
    CPDSR=10*Integer.parseInt(CPDR.getValue().toString());
    addscore();
}//GEN-LAST:event_CPDRStateChanged

private void CPARStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_CPARStateChanged
    CPASR=10*Integer.parseInt(CPAR.getValue().toString());
    addscore();
}//GEN-LAST:event_CPARStateChanged

private void CPBRStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_CPBRStateChanged
    CPBSR=10*Integer.parseInt(CPBR.getValue().toString());
    addscore();
}//GEN-LAST:event_CPBRStateChanged

private void CPFRStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_CPFRStateChanged
    CPFSR=10*Integer.parseInt(CPFR.getValue().toString());
    addscore();
}//GEN-LAST:event_CPFRStateChanged

private void BBENRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BBENRActionPerformed
    BBTSR=0;
    addscore();
}//GEN-LAST:event_BBENRActionPerformed

private void BBEHRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BBEHRActionPerformed
    BBTSR=30;
    addscore();
}//GEN-LAST:event_BBEHRActionPerformed

    private void BBEPRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BBEPRActionPerformed
    BBTSR=20;
    addscore();
    }//GEN-LAST:event_BBEPRActionPerformed

    private void load(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_load
        // TODO add your handling code here:
    }//GEN-LAST:event_load

    private void CPABStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_CPABStateChanged
        CPASB=10*Integer.parseInt(CPAB.getValue().toString());
        addscore();
    }//GEN-LAST:event_CPABStateChanged

    private void CPBBStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_CPBBStateChanged
        CPBSB=10*Integer.parseInt(CPBB.getValue().toString());
        addscore();
    }//GEN-LAST:event_CPBBStateChanged

    private void CPFBStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_CPFBStateChanged
        CPFSB=10*Integer.parseInt(CPFB.getValue().toString());
        addscore();
    }//GEN-LAST:event_CPFBStateChanged

    private void CPEBStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_CPEBStateChanged
        CPESB=10*Integer.parseInt(CPEB.getValue().toString());
        addscore();
    }//GEN-LAST:event_CPEBStateChanged

    private void CPCBStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_CPCBStateChanged
        CPCSB=10*Integer.parseInt(CPCB.getValue().toString());
        addscore();
    }//GEN-LAST:event_CPCBStateChanged

    private void CPDBStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_CPDBStateChanged
        CPDSB=10*Integer.parseInt(CPDB.getValue().toString());
        addscore();
    }//GEN-LAST:event_CPDBStateChanged

    private void PCBStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_PCBStateChanged
        CPSB=10*Integer.parseInt(PCB.getValue().toString());
        addscore();
    }//GEN-LAST:event_PCBStateChanged

    private void BBEPBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BBEPBActionPerformed
        BBTSB=20;
        addscore();
    }//GEN-LAST:event_BBEPBActionPerformed

    private void BBEHR1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BBEHR1ActionPerformed
        BBTSB=30;
        addscore();
    }//GEN-LAST:event_BBEHR1ActionPerformed

    private void BBENBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BBENBActionPerformed
        BBTSB=0;
        addscore();
    }//GEN-LAST:event_BBENBActionPerformed

    private void MBRStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_MBRStateChanged
        MBSR=25*Integer.parseInt(MBR.getValue().toString());
        addscore();
    }//GEN-LAST:event_MBRStateChanged

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Scores.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Scores.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Scores.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Scores.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>
        try{
        String systemLookAndFeel = javax.swing.UIManager.getSystemLookAndFeelClassName();
        javax.swing.UIManager.setLookAndFeel(systemLookAndFeel);
        } catch(Exception ex)
                {
                            
                        }
        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {

            @Override
            public void run() {
                new Scores().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.ButtonGroup BBAB;
    private javax.swing.JRadioButton BBABB;
    private javax.swing.JRadioButton BBABR;
    private javax.swing.JRadioButton BBAFB;
    private javax.swing.JRadioButton BBAFR;
    private javax.swing.JRadioButton BBANB;
    private javax.swing.JRadioButton BBANR;
    private javax.swing.ButtonGroup BBAR;
    private javax.swing.ButtonGroup BBEB;
    private javax.swing.JRadioButton BBEHR;
    private javax.swing.JRadioButton BBEHR1;
    private javax.swing.JRadioButton BBENB;
    private javax.swing.JRadioButton BBENR;
    private javax.swing.JRadioButton BBEPB;
    private javax.swing.JRadioButton BBEPR;
    private javax.swing.ButtonGroup BBER;
    private javax.swing.JLabel BlueScoreDisplay;
    private javax.swing.JSpinner CBB;
    private javax.swing.JSpinner CBR;
    private javax.swing.JSpinner CPAB;
    private javax.swing.JSpinner CPAR;
    private javax.swing.JSpinner CPBB;
    private javax.swing.JSpinner CPBR;
    private javax.swing.JSpinner CPCB;
    private javax.swing.JSpinner CPCR;
    private javax.swing.JSpinner CPDB;
    private javax.swing.JSpinner CPDR;
    private javax.swing.JSpinner CPEB;
    private javax.swing.JSpinner CPER;
    private javax.swing.JSpinner CPFB;
    private javax.swing.JSpinner CPFR;
    private javax.swing.JSpinner LGBB;
    private javax.swing.JSpinner LGBR;
    private javax.swing.JSpinner MBB;
    private javax.swing.JSpinner MBR;
    private javax.swing.JSpinner PCB;
    private javax.swing.JSpinner PCR;
    private javax.swing.ButtonGroup R1B;
    private javax.swing.JRadioButton R1BB;
    private javax.swing.JRadioButton R1BR;
    private javax.swing.JRadioButton R1FB;
    private javax.swing.JRadioButton R1FR;
    private javax.swing.JRadioButton R1NB;
    private javax.swing.JRadioButton R1NR;
    private javax.swing.ButtonGroup R1R;
    private javax.swing.ButtonGroup R2B;
    private javax.swing.JRadioButton R2BB;
    private javax.swing.JRadioButton R2BR;
    private javax.swing.JRadioButton R2FB;
    private javax.swing.JRadioButton R2FR;
    private javax.swing.JRadioButton R2NB;
    private javax.swing.JRadioButton R2NR;
    private javax.swing.ButtonGroup R2R;
    private javax.swing.JLabel RedScoreDisplay;
    private javax.swing.JSpinner UCB;
    private javax.swing.JSpinner UCR;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JSeparator jSeparator1;
    // End of variables declaration//GEN-END:variables
}
